#pragma once

#ifdef VLD_DETECT_LEAKS
#define ENABLE_LEAK_DETECTION() liba::system::EnableLeakDetection(true)
#define DISABLE_LEAK_DETECTION() liba::system::EnableLeakDetection(false)
#else
#define ENABLE_LEAK_DETECTION() (void)(0)
#define DISABLE_LEAK_DETECTION() (void)(0)
#endif

namespace liba {
namespace system {

void EnableLeakDetection(bool enable);

} // namespace system
} // namespace liba